package se.boliang.ccstore;

import java.util.Random;

public class Running {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		
		/** Create 20 customers and running in different threads */
		for (int i = 0 ; i < 30 ; i ++) {
			Random randomArrivalInterval = new Random(); 
			Customer customer = new Customer(randomArrivalInterval.nextFloat(), i);
			Thread thread = new Thread(customer); 
			thread.start(); 
		
		}
		
		
		
	}

}
